package Work0511;

public class DriverSteamship {
	private double load;
	private double drain;
	private double speed;

	public DriverSteamship(double load, double drain, double speed) {
		this.load = load;
		this.drain = drain;
		this.speed = speed;
	}

	public double getLoad() {
		return load;
	}

	public double getDrain() {
		return drain;
	}

	public double getSpeed() {
		return speed;
	}

	public String start() {
		return "起航";
	}

	public String blow() {
		return "鸣笛";
	}

	public String anchored() {
		return "抛锚";
	}

}
